package com.drivers.model.OrderInformation;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Data
@ToString
public class OrderInformation{

    private long id;
    private String orderId;
    private long orderType;
    private long userId;
    private long driverId;
    private String passengerName;
    private String passengerPhone;
    private String startingPoint;
    private  String[] startingPoints;
    private String destination;
    private long orderStatus;
    private String orderMileage;
    private long driverAppraiseId;
    private long driverComplaintsId;
    private long userComplaintsId;
    private long chatId;
    private String startingPointAddress;
    private String destinationAddress;

    private Integer count1;
    private Integer count2;


    private String phone;

    private String oid;
    private String day;
    private String completeTime;
    private Integer status;
    private String fromLocation;
    private String toLocation;
    private String img;
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    private Date arriveTime;
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    private Date payTime;

}
